using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class QueryMultipleSchedulesRequest : OrganizationRequest
	{
		public Guid[] ResourceIds
		{
			get
			{
				if (base.Parameters.Contains("ResourceIds"))
				{
					return (Guid[])base.Parameters["ResourceIds"];
				}
				return null;
			}
			set
			{
				base.Parameters["ResourceIds"] = value;
			}
		}
		public DateTime Start
		{
			get
			{
				if (base.Parameters.Contains("Start"))
				{
					return (DateTime)base.Parameters["Start"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["Start"] = value;
			}
		}
		public DateTime End
		{
			get
			{
				if (base.Parameters.Contains("End"))
				{
					return (DateTime)base.Parameters["End"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["End"] = value;
			}
		}
		public TimeCode[] TimeCodes
		{
			get
			{
				if (base.Parameters.Contains("TimeCodes"))
				{
					return (TimeCode[])base.Parameters["TimeCodes"];
				}
				return null;
			}
			set
			{
				base.Parameters["TimeCodes"] = value;
			}
		}
		public QueryMultipleSchedulesRequest()
		{
			base.RequestName = "QueryMultipleSchedules";
			this.ResourceIds = null;
			this.Start = default(DateTime);
			this.End = default(DateTime);
			this.TimeCodes = null;
		}
	}
}
